package com.yuba.front.domain.vo;

import com.yuba.common.translation.annotation.Translation;
import com.yuba.common.translation.constant.TransConstant;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@AutoMapper(target = FishSiteVo.class)
public class FishSiteDetailVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long fishSiteId;

    /**
     * 钓场名称
     */
    private String name;

    /**
     * 地址
     */
    private String address;

    /**
     * 省份
     */
    private String province;

    /**
     * 城市
     */
    private String city;

    /**
     * 经度
     */
    private BigDecimal latitude;

    /**
     * 纬度
     */
    private BigDecimal longitude;

    /**
     * 收费类型
     */
    private String feeType;

    /**
     * 收费金额
     */
    private Long amount;

    /**
     * 描述
     */
    private String description;

    /**
     * 图片url
     */
//    @Translation(type = TransConstant.OSS_ID_TO_URL)
    private String imageUrl;

    /**
     * 是否公开; Y 公开，N 不公开
     */
    private String publicFlag;

    private Boolean collectFlag;
    private Long collectCount;

    /**
     * 用户id
     */
    private Long userId;

    private String nickname;

    @Translation(type = TransConstant.OSS_ID_TO_URL)
    private Long avatar;

    private BigDecimal avgRating;

    private Long ratingCount;

    private Date createTime;
}
